export class BinaryTreeNode<K, V> {
	leftChild: BinaryTreeNode<K, V>

	parent: BinaryTreeNode<K, V>

	rightChild: BinaryTreeNode<K, V>

	constructor(public key: K, public value: V) {}

	copyAttributesTo(another: BinaryTreeNode<K, V>): void {
		another.key = this.key
		another.value = this.value
	}
}
